using System;
using System.Globalization;
using System.Windows.Data;
using 地图哇哇哇.地图;

namespace 地图哇哇哇
{
    public class 测试层DrawingConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            if (value != null && value is 测试层 c)
            {
                return c.出图();
            }

            return null;
        }

        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }
}